package langchain4j.service;

import com.baomidou.mybatisplus.extension.service.IService;
import langchain4j.bean.Appointment;
import langchain4j.entity.User;
import langchain4j.entity.dto.PasswordUpdateDTO;

import javax.validation.Valid;

public interface UserService extends IService<User>{
    boolean updateUser(Long id,User user);

    boolean updatePassword(Long id, @Valid PasswordUpdateDTO dto);

    User findUserByIdCardAndPassword(String idCard, String password);

    boolean register(User user);

    boolean resetPass(User user);
}
